import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

let arrRoute = [
  // {
  //   path: '/',
  //   name: 'index',
  //   component: () => {
  //     return import('../Views/index.vue');
  //   },
  // },
  {
    path: '/enterList',
    name: 'enterList',
    component: () => {
      return import('@/Views/enterList.vue');
    },
  },
  {
    path: '/login',
    name: 'login',
    component: () => {
      return import('@/Views/login.vue');
    },
  },
  {
    path: '/client',
    name: 'client',
    component: () => {
      return import('../Views/index.vue');
    },
  },
];

export default new Router({
  routes: arrRoute,
});
